package com.xuxin.baby.contract;

import com.xuxin.baby.bean.BaseBean;
import com.xuxin.baby.presenter.LikePresenter;

/**
 * Created by xu_xin
 * Created on 2020/12/4 0004
 * 点赞
 */
public interface LikeContract {

    interface Model {

        void like(LikePresenter presenter, String tenantId, String token, String memberId, String courseId);
    }

    interface View extends BaseContract.view {

        void onLikeSuccess(BaseBean baseBean);
    }

    interface Presenter extends BaseContract.presenter {

        void like(String tenantId, String token, String memberId, String courseId);

        void onLikeSuccess(BaseBean baseBean);
    }
}